﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master"
    CodeFile="CPR_List_Product_View.aspx.cs" Inherits="CallRoute_CPR_List_Product_View" %>

<asp:Content ContentPlaceHolderID="head" runat="server">
    <title>客户分销</title>
</asp:Content>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="100%">
                <tr runat="server" id="trProduct">
                    <td>
                        <table id="wsd_inputtable">
                            <tr>
                                <td width="100%" class="tabletitle">
                                    产品列表
                                </td>
                            </tr>
                        </table>
                        <div id="wsd_listtable" style="height: 280px; overflow: auto">
                            <asp:TreeView ID="TreeView" runat="server" Width="952px" CssClass="wsd_listtable"
                                ShowLines="True" OnSelectedNodeChanged="TreeView_SelectedNodeChanged">
                            </asp:TreeView>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table id="wsd_inputtable">
                            <tr>
                                <td class="tabletitle">
                                    分销列表 客户:<%# Name %>
                                </td>
                                <td class="tabletitle">
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                        <table id="wsd_listtable" width="100%">
                            <tr>
                                <td style="width: 100%">
                                    <asp:GridView Width="100%" ID="gvCPR" runat="server" EmptyDataText="没有可显示的数据." EmptyDataRowStyle-Font-Bold="true"
                                        BorderWidth="0" GridLines="None" EmptyDataRowStyle-HorizontalAlign="Center" EnableEmptyContentRender="true"
                                        AutoGenerateColumns="False">
                                        <HeaderStyle CssClass="titlist" />
                                        <EmptyDataRowStyle HorizontalAlign="Center" Font-Bold="True"></EmptyDataRowStyle>
                                        <Columns>
                                            <asp:BoundField HeaderText="拜访次序" DataField="VISIT_TIMES" Visible="false" />
                                            <asp:BoundField HeaderText="产品代码" DataField="CODE" />
                                            <asp:BoundField HeaderText="产品名称" DataField="PRODUCTNAME" />
                                            <asp:BoundField HeaderText="巡店督导" DataField="NAME" />
                                            <asp:BoundField HeaderText="拜访时间" DataField="VISIT_TIME" DataFormatString="{0:yyyy/MM/dd HH:mm}" />
                                        </Columns>
                                        <RowStyle CssClass="evenline" />
                                        <AlternatingRowStyle CssClass="oddline" />
                                        <PagerSettings Visible="true" />
                                    </asp:GridView>
                                </td>
                            </tr>
                        </table>
                        <table id="wsd_inputtable">
                            <tr>
                                <td width="100%" class="tabletitle">
                                    操作选项
                                </td>
                            </tr>
                            <tr>
                                <td class="buttonarea">
                                    <input type="button" class="wsd_button2" value="重新搜索" onclick="location.href='CPR_List_View.aspx'" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="TreeView" EventName="SelectedNodeChanged" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
